Helpful Information
 
 
Category: vB5 Programming Discussions
Facebook "Activity Feed"

I was reading in the developers section on facebook & came across this "Activity Feed"
Is this something that can be integrated easily.? (i'm hoping it's something that can be integrated into the "Activity Stream" on vB4)
---


Activity Feed

The Activity Feed plugin displays the most interesting recent activity taking place on your site. Since the content is hosted by Facebook, the plugin can display personalized content whether or not the user has logged into your site. The activity feed displays stories when users interact with content on your site, such as like, watch, read, play or any custom action. Activity is also displayed when users share content from your site in Facebook or if they comment on a page on your site in the Comments box. If a user is logged into Facebook, the plugin will be personalized to highlight content from their friends. If the user is logged out, the activity feed will show recommendations from across your site, and give the user the option to log in to Facebook.

The plugin is filled with activity from the user's friends. If there isn't enough friend activity to fill the plugin, it is backfilled with recommendations. If you set the recommendations param to true, the plugin is split in half, showing friends activity in the top half, and recommendations in the bottom half. If there is not enough friends activity to fill half of the plugin, it will include more recommendations.

The Activity Feed plugin can be configured in the following ways:

App ID
One or more action types
Domain


App ID
If you specify an App ID for the Activity Feed plugin, we will display all actions (built-in and custom) specified by the associated app ID. Note: if you are using the xfbml version of the plugin, you need to specify your application id when you initiate the Javascript library. If you are using the iframe version of the plugin you should pass in the id, as the 'app_id' parameter to the plugin.

<fb:activity
site="http://www.jerrycain.com"
app_id="118280394918580">
</fb:activity>

One or more action types
To specify one or more action types to display in the Activity Feed plugin, you can specify a comma separated list of action types. The list of action types can include both built-in and custom actions.

<fb:activity
site="http://www.jerrycain.com"
action="critiqueapp:despise,critiqueapp:review,critiqueapp:grade">
</fb:activity>

Domain
By specifying a domain to show activity for, we will display all built-in actions for the specified domain: like, read, watch, play, listen. The domain is matched exactly, so a plugin with site=facebook.com would not include activity from developers.facebook.com or www.facebook.com. You cannot currently aggregate across multiple domains.

<fb:activity
site="http://www.jerrycain.com">
</fb:activity>

The plugin is available either via a simple iframe you can drop into your page, or if you are using the new JavaScript SDK, you can use the <fb:activity> XFBML tag.




http://developers.facebook.com/docs/reference/plugins/activity/

This is a great idea, and I found this post by searching for something just like this.

So... has anybody done this successfully on the vb4 platform?

same










privacy (GDPR)